package com.sumover.DAO;

import com.sumover.POJO.Game;
import com.sumover.POJO.GameScore;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface GameScoreMapper {
    int deleteByPrimaryKey(@Param("gid") Integer gid, @Param("uid") Integer uid);

    int insert(GameScore record);

    GameScore selectByPrimaryKey(@Param("gid") Integer gid, @Param("uid") Integer uid);

    List<GameScore> selectAll();

    int updateByPrimaryKey(GameScore record);

    List<Integer> queryAllScoreByGame(@Param("game") Game game);
}